package com.site.wisdom_construction.service.personnelModule;

import com.site.wisdom_construction.dao.personnelModule.EducationTechnicalDisclosureRecordDao;
import com.site.wisdom_construction.entity.personnelModule.EducationTechnicalDisclosureRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/4/6
 * @Description
 */
@Service
public class EducationTechnicalDisclosureRecordService implements EducationTechnicalDisclosureRecordDao {
    @Autowired
    private EducationTechnicalDisclosureRecordDao educationTechnicalDisclosureRecordDao;

    @Override
    public int insertEducationTechnicalDisclosureRecord(Map map) {
        return educationTechnicalDisclosureRecordDao.insertEducationTechnicalDisclosureRecord(map);
    }

    @Override
    public int deleteEducationTechnicalDisclosureRecord(Map map) {
        return educationTechnicalDisclosureRecordDao.deleteEducationTechnicalDisclosureRecord(map);
    }

    @Override
    public int updateEducationTechnicalDisclosureRecord(Map map) {
        return educationTechnicalDisclosureRecordDao.updateEducationTechnicalDisclosureRecord(map);
    }

    @Override
    public List<EducationTechnicalDisclosureRecord> findEducationTechnicalDisclosureRecordByPage(Map map) {
        return educationTechnicalDisclosureRecordDao.findEducationTechnicalDisclosureRecordByPage(map);
    }

    @Override
    public long Total(Map map) {
        return educationTechnicalDisclosureRecordDao.Total(map);
    }

    @Override
    public EducationTechnicalDisclosureRecord findEducationTechnicalDisclosureRecordById(Map map) {
        return educationTechnicalDisclosureRecordDao.findEducationTechnicalDisclosureRecordById(map);
    }

    @Override
    public List<EducationTechnicalDisclosureRecord> findEducationTechnicalDisclosureRecordByWorkerCard(Map map) {
        return educationTechnicalDisclosureRecordDao.findEducationTechnicalDisclosureRecordByWorkerCard(map);
    }

    @Override
    public List<EducationTechnicalDisclosureRecord> findEducationTechnicalDisclosureRecordByManagerialId(Map map) {
        return educationTechnicalDisclosureRecordDao.findEducationTechnicalDisclosureRecordByManagerialId(map);
    }

    @Override
    public long TotalByManagerialId(Map map) {
        return educationTechnicalDisclosureRecordDao.TotalByManagerialId(map);
    }
}
